﻿<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
  <!-- EF Runtime content -->
  <edmx:Runtime>
    <!-- SSDL content -->
    <edmx:StorageModels>
    <Schema Namespace="Хранилище Model" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
        <EntityType Name="News">
          <Key>
            <PropertyRef Name="IdNews" />
          </Key>
          <Property Name="IdNews" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="ImageNews" Type="varbinary(max)" />
          <Property Name="TitleNews" Type="nvarchar" MaxLength="500" Nullable="false" />
          <Property Name="DescriptionNews" Type="nvarchar" MaxLength="500" Nullable="false" />
          <Property Name="DatePublication" Type="datetime" Nullable="false" />
        </EntityType>
        <EntityType Name="Organization">
          <Key>
            <PropertyRef Name="IdOrganization" />
          </Key>
          <Property Name="IdOrganization" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="Name" Type="nvarchar" MaxLength="190" Nullable="false" />
          <Property Name="Adress" Type="nvarchar" MaxLength="250" Nullable="false" />
          <Property Name="ContactNummber" Type="int" Nullable="false" />
        </EntityType>
        <EntityType Name="PersonalData">
          <Key>
            <PropertyRef Name="IdPersonal" />
          </Key>
          <Property Name="IdPersonal" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="IdUser" Type="int" Nullable="false" />
          <Property Name="EP" Type="int" />
          <Property Name="INN" Type="int" />
          <Property Name="SNILS" Type="int" Nullable="false" />
          <Property Name="OMS" Type="int" Nullable="false" />
          <Property Name="Country" Type="nvarchar" MaxLength="150" Nullable="false" />
          <Property Name="PlaceOfResidence" Type="nvarchar" MaxLength="150" Nullable="false" />
          <Property Name="Patronimic" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="LastName" Type="nvarchar" MaxLength="50" Nullable="false" />
        </EntityType>
        <EntityType Name="Recuest">
          <Key>
            <PropertyRef Name="IdRecuest" />
          </Key>
          <Property Name="IdRecuest" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="PersonalDataId" Type="int" Nullable="false" />
          <Property Name="Message" Type="nvarchar" MaxLength="150" Nullable="false" />
          <Property Name="Status" Type="nvarchar" MaxLength="150" Nullable="false" />
          <Property Name="Data" Type="datetime" Nullable="false" />
          <Property Name="IdTypeOfHelp" Type="int" Nullable="false" />
          <Property Name="IdOrganization" Type="int" />
          <Property Name="Answer" Type="nvarchar" MaxLength="150" />
        </EntityType>
        <EntityType Name="Role">
          <Key>
            <PropertyRef Name="id" />
          </Key>
          <Property Name="id" Type="int" Nullable="false" />
          <Property Name="name" Type="nvarchar" MaxLength="50" Nullable="false" />
        </EntityType>
        <EntityType Name="TypeOfHelp">
          <Key>
            <PropertyRef Name="IdType" />
          </Key>
          <Property Name="IdType" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
        </EntityType>
        <EntityType Name="User">
          <Key>
            <PropertyRef Name="Id" />
          </Key>
          <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="Email" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="Phone" Type="varchar" MaxLength="20" Nullable="false" />
          <Property Name="Password" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="role_id" Type="int" Nullable="false" />
          <Property Name="organization_id" Type="int" />
        </EntityType>
        <Association Name="FK_PersonalData_User">
          <End Role="User" Type="Self.User" Multiplicity="1" />
          <End Role="PersonalData" Type="Self.PersonalData" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="User">
              <PropertyRef Name="Id" />
            </Principal>
            <Dependent Role="PersonalData">
              <PropertyRef Name="IdUser" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Recuest_Organization">
          <End Role="Organization" Type="Self.Organization" Multiplicity="0..1" />
          <End Role="Recuest" Type="Self.Recuest" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Organization">
              <PropertyRef Name="IdOrganization" />
            </Principal>
            <Dependent Role="Recuest">
              <PropertyRef Name="IdOrganization" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Recuest_PersonalData">
          <End Role="PersonalData" Type="Self.PersonalData" Multiplicity="1" />
          <End Role="Recuest" Type="Self.Recuest" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="PersonalData">
              <PropertyRef Name="IdPersonal" />
            </Principal>
            <Dependent Role="Recuest">
              <PropertyRef Name="PersonalDataId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Recuest_TypeOfHelp">
          <End Role="TypeOfHelp" Type="Self.TypeOfHelp" Multiplicity="1" />
          <End Role="Recuest" Type="Self.Recuest" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="TypeOfHelp">
              <PropertyRef Name="IdType" />
            </Principal>
            <Dependent Role="Recuest">
              <PropertyRef Name="IdTypeOfHelp" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_User_Organization">
          <End Role="Organization" Type="Self.Organization" Multiplicity="0..1" />
          <End Role="User" Type="Self.User" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Organization">
              <PropertyRef Name="IdOrganization" />
            </Principal>
            <Dependent Role="User">
              <PropertyRef Name="organization_id" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_User_Role">
          <End Role="Role" Type="Self.Role" Multiplicity="1" />
          <End Role="User" Type="Self.User" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Role">
              <PropertyRef Name="id" />
            </Principal>
            <Dependent Role="User">
              <PropertyRef Name="role_id" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <EntityContainer Name="Хранилище ModelContainer">
          <EntitySet Name="News" EntityType="Self.News" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="Organization" EntityType="Self.Organization" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="PersonalData" EntityType="Self.PersonalData" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="Recuest" EntityType="Self.Recuest" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="Role" EntityType="Self.Role" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="TypeOfHelp" EntityType="Self.TypeOfHelp" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="User" EntityType="Self.User" Schema="dbo" store:Type="Tables" />
          <AssociationSet Name="FK_PersonalData_User" Association="Self.FK_PersonalData_User">
            <End Role="User" EntitySet="User" />
            <End Role="PersonalData" EntitySet="PersonalData" />
          </AssociationSet>
          <AssociationSet Name="FK_Recuest_Organization" Association="Self.FK_Recuest_Organization">
            <End Role="Organization" EntitySet="Organization" />
            <End Role="Recuest" EntitySet="Recuest" />
          </AssociationSet>
          <AssociationSet Name="FK_Recuest_PersonalData" Association="Self.FK_Recuest_PersonalData">
            <End Role="PersonalData" EntitySet="PersonalData" />
            <End Role="Recuest" EntitySet="Recuest" />
          </AssociationSet>
          <AssociationSet Name="FK_Recuest_TypeOfHelp" Association="Self.FK_Recuest_TypeOfHelp">
            <End Role="TypeOfHelp" EntitySet="TypeOfHelp" />
            <End Role="Recuest" EntitySet="Recuest" />
          </AssociationSet>
          <AssociationSet Name="FK_User_Organization" Association="Self.FK_User_Organization">
            <End Role="Organization" EntitySet="Organization" />
            <End Role="User" EntitySet="User" />
          </AssociationSet>
          <AssociationSet Name="FK_User_Role" Association="Self.FK_User_Role">
            <End Role="Role" EntitySet="Role" />
            <End Role="User" EntitySet="User" />
          </AssociationSet>
        </EntityContainer>
      </Schema></edmx:StorageModels>
    <!-- CSDL content -->
    <edmx:ConceptualModels>
      <Schema Namespace="Model" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
        <EntityContainer Name="Entities" annotation:LazyLoadingEnabled="true">
          <EntitySet Name="News" EntityType="Model.News" />
          <EntitySet Name="Organization" EntityType="Model.Organization" />
          <EntitySet Name="PersonalData" EntityType="Model.PersonalData" />
          <EntitySet Name="Recuest" EntityType="Model.Recuest" />
          <EntitySet Name="Role" EntityType="Model.Role" />
          <EntitySet Name="TypeOfHelp" EntityType="Model.TypeOfHelp" />
          <EntitySet Name="User" EntityType="Model.User" />
          <AssociationSet Name="FK_Recuest_Organization" Association="Model.FK_Recuest_Organization">
            <End Role="Organization" EntitySet="Organization" />
            <End Role="Recuest" EntitySet="Recuest" />
          </AssociationSet>
          <AssociationSet Name="FK_User_Organization" Association="Model.FK_User_Organization">
            <End Role="Organization" EntitySet="Organization" />
            <End Role="User" EntitySet="User" />
          </AssociationSet>
          <AssociationSet Name="FK_PersonalData_User" Association="Model.FK_PersonalData_User">
            <End Role="User" EntitySet="User" />
            <End Role="PersonalData" EntitySet="PersonalData" />
          </AssociationSet>
          <AssociationSet Name="FK_Recuest_PersonalData" Association="Model.FK_Recuest_PersonalData">
            <End Role="PersonalData" EntitySet="PersonalData" />
            <End Role="Recuest" EntitySet="Recuest" />
          </AssociationSet>
          <AssociationSet Name="FK_Recuest_TypeOfHelp" Association="Model.FK_Recuest_TypeOfHelp">
            <End Role="TypeOfHelp" EntitySet="TypeOfHelp" />
            <End Role="Recuest" EntitySet="Recuest" />
          </AssociationSet>
          <AssociationSet Name="FK_User_Role" Association="Model.FK_User_Role">
            <End Role="Role" EntitySet="Role" />
            <End Role="User" EntitySet="User" />
          </AssociationSet>
        </EntityContainer>
        <EntityType Name="News">
          <Key>
            <PropertyRef Name="IdNews" />
          </Key>
          <Property Name="IdNews" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="ImageNews" Type="Binary" MaxLength="Max" FixedLength="false" />
          <Property Name="TitleNews" Type="String" Nullable="false" MaxLength="500" FixedLength="false" Unicode="true" />
          <Property Name="DescriptionNews" Type="String" Nullable="false" MaxLength="500" FixedLength="false" Unicode="true" />
          <Property Name="DatePublication" Type="DateTime" Nullable="false" Precision="3" />
        </EntityType>
        <EntityType Name="Organization">
          <Key>
            <PropertyRef Name="IdOrganization" />
          </Key>
          <Property Name="IdOrganization" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="Name" Type="String" Nullable="false" MaxLength="190" FixedLength="false" Unicode="true" />
          <Property Name="Adress" Type="String" Nullable="false" MaxLength="250" FixedLength="false" Unicode="true" />
          <Property Name="ContactNummber" Type="Int32" Nullable="false" />
          <NavigationProperty Name="Recuest" Relationship="Model.FK_Recuest_Organization" FromRole="Organization" ToRole="Recuest" />
          <NavigationProperty Name="User" Relationship="Model.FK_User_Organization" FromRole="Organization" ToRole="User" />
        </EntityType>
        <EntityType Name="PersonalData">
          <Key>
            <PropertyRef Name="IdPersonal" />
          </Key>
          <Property Name="IdPersonal" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="IdUser" Type="Int32" Nullable="false" />
          <Property Name="EP" Type="Int32" />
          <Property Name="INN" Type="Int32" />
          <Property Name="SNILS" Type="Int32" Nullable="false" />
          <Property Name="OMS" Type="Int32" Nullable="false" />
          <Property Name="Country" Type="String" Nullable="false" MaxLength="150" FixedLength="false" Unicode="true" />
          <Property Name="PlaceOfResidence" Type="String" Nullable="false" MaxLength="150" FixedLength="false" Unicode="true" />
          <Property Name="Patronimic" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Name="Name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Name="LastName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <NavigationProperty Name="User" Relationship="Model.FK_PersonalData_User" FromRole="PersonalData" ToRole="User" />
          <NavigationProperty Name="Recuest" Relationship="Model.FK_Recuest_PersonalData" FromRole="PersonalData" ToRole="Recuest" />
        </EntityType>
        <EntityType Name="Recuest">
          <Key>
            <PropertyRef Name="IdRecuest" />
          </Key>
          <Property Name="IdRecuest" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="PersonalDataId" Type="Int32" Nullable="false" />
          <Property Name="Message" Type="String" Nullable="false" MaxLength="150" FixedLength="false" Unicode="true" />
          <Property Name="Status" Type="String" Nullable="false" MaxLength="150" FixedLength="false" Unicode="true" />
          <Property Name="Data" Type="DateTime" Nullable="false" Precision="3" />
          <Property Name="IdTypeOfHelp" Type="Int32" Nullable="false" />
          <Property Name="IdOrganization" Type="Int32" />
          <Property Name="Answer" Type="String" MaxLength="150" FixedLength="false" Unicode="true" />
          <NavigationProperty Name="Organization" Relationship="Model.FK_Recuest_Organization" FromRole="Recuest" ToRole="Organization" />
          <NavigationProperty Name="PersonalData" Relationship="Model.FK_Recuest_PersonalData" FromRole="Recuest" ToRole="PersonalData" />
          <NavigationProperty Name="TypeOfHelp" Relationship="Model.FK_Recuest_TypeOfHelp" FromRole="Recuest" ToRole="TypeOfHelp" />
        </EntityType>
        <EntityType Name="Role">
          <Key>
            <PropertyRef Name="id" />
          </Key>
          <Property Name="id" Type="Int32" Nullable="false" />
          <Property Name="name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <NavigationProperty Name="User" Relationship="Model.FK_User_Role" FromRole="Role" ToRole="User" />
        </EntityType>
        <EntityType Name="TypeOfHelp">
          <Key>
            <PropertyRef Name="IdType" />
          </Key>
          <Property Name="IdType" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="Name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <NavigationProperty Name="Recuest" Relationship="Model.FK_Recuest_TypeOfHelp" FromRole="TypeOfHelp" ToRole="Recuest" />
        </EntityType>
        <EntityType Name="User">
          <Key>
            <PropertyRef Name="Id" />
          </Key>
          <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="Email" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Name="Phone" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" />
          <Property Name="Password" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Name="role_id" Type="Int32" Nullable="false" />
          <Property Name="organization_id" Type="Int32" />
          <NavigationProperty Name="Organization" Relationship="Model.FK_User_Organization" FromRole="User" ToRole="Organization" />
          <NavigationProperty Name="PersonalData" Relationship="Model.FK_PersonalData_User" FromRole="User" ToRole="PersonalData" />
          <NavigationProperty Name="Role" Relationship="Model.FK_User_Role" FromRole="User" ToRole="Role" />
        </EntityType>
        <Association Name="FK_Recuest_Organization">
          <End Type="Model.Organization" Role="Organization" Multiplicity="0..1" />
          <End Type="Model.Recuest" Role="Recuest" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Organization">
              <PropertyRef Name="IdOrganization" />
            </Principal>
            <Dependent Role="Recuest">
              <PropertyRef Name="IdOrganization" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_User_Organization">
          <End Type="Model.Organization" Role="Organization" Multiplicity="0..1" />
          <End Type="Model.User" Role="User" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Organization">
              <PropertyRef Name="IdOrganization" />
            </Principal>
            <Dependent Role="User">
              <PropertyRef Name="organization_id" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_PersonalData_User">
          <End Type="Model.User" Role="User" Multiplicity="1" />
          <End Type="Model.PersonalData" Role="PersonalData" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="User">
              <PropertyRef Name="Id" />
            </Principal>
            <Dependent Role="PersonalData">
              <PropertyRef Name="IdUser" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Recuest_PersonalData">
          <End Type="Model.PersonalData" Role="PersonalData" Multiplicity="1" />
          <End Type="Model.Recuest" Role="Recuest" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="PersonalData">
              <PropertyRef Name="IdPersonal" />
            </Principal>
            <Dependent Role="Recuest">
              <PropertyRef Name="PersonalDataId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Recuest_TypeOfHelp">
          <End Type="Model.TypeOfHelp" Role="TypeOfHelp" Multiplicity="1" />
          <End Type="Model.Recuest" Role="Recuest" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="TypeOfHelp">
              <PropertyRef Name="IdType" />
            </Principal>
            <Dependent Role="Recuest">
              <PropertyRef Name="IdTypeOfHelp" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_User_Role">
          <End Type="Model.Role" Role="Role" Multiplicity="1" />
          <End Type="Model.User" Role="User" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Role">
              <PropertyRef Name="id" />
            </Principal>
            <Dependent Role="User">
              <PropertyRef Name="role_id" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        </Schema>
    </edmx:ConceptualModels>
    <!-- C-S mapping content -->
    <edmx:Mappings>
      <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
        <EntityContainerMapping StorageEntityContainer="Хранилище ModelContainer" CdmEntityContainer="Entities">
          <EntitySetMapping Name="News">
            <EntityTypeMapping TypeName="Model.News">
              <MappingFragment StoreEntitySet="News">
                <ScalarProperty Name="DatePublication" ColumnName="DatePublication" />
                <ScalarProperty Name="DescriptionNews" ColumnName="DescriptionNews" />
                <ScalarProperty Name="TitleNews" ColumnName="TitleNews" />
                <ScalarProperty Name="ImageNews" ColumnName="ImageNews" />
                <ScalarProperty Name="IdNews" ColumnName="IdNews" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Organization">
            <EntityTypeMapping TypeName="Model.Organization">
              <MappingFragment StoreEntitySet="Organization">
                <ScalarProperty Name="ContactNummber" ColumnName="ContactNummber" />
                <ScalarProperty Name="Adress" ColumnName="Adress" />
                <ScalarProperty Name="Name" ColumnName="Name" />
                <ScalarProperty Name="IdOrganization" ColumnName="IdOrganization" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="PersonalData">
            <EntityTypeMapping TypeName="Model.PersonalData">
              <MappingFragment StoreEntitySet="PersonalData">
                <ScalarProperty Name="LastName" ColumnName="LastName" />
                <ScalarProperty Name="Name" ColumnName="Name" />
                <ScalarProperty Name="Patronimic" ColumnName="Patronimic" />
                <ScalarProperty Name="PlaceOfResidence" ColumnName="PlaceOfResidence" />
                <ScalarProperty Name="Country" ColumnName="Country" />
                <ScalarProperty Name="OMS" ColumnName="OMS" />
                <ScalarProperty Name="SNILS" ColumnName="SNILS" />
                <ScalarProperty Name="INN" ColumnName="INN" />
                <ScalarProperty Name="EP" ColumnName="EP" />
                <ScalarProperty Name="IdUser" ColumnName="IdUser" />
                <ScalarProperty Name="IdPersonal" ColumnName="IdPersonal" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Recuest">
            <EntityTypeMapping TypeName="Model.Recuest">
              <MappingFragment StoreEntitySet="Recuest">
                <ScalarProperty Name="Answer" ColumnName="Answer" />
                <ScalarProperty Name="IdOrganization" ColumnName="IdOrganization" />
                <ScalarProperty Name="IdTypeOfHelp" ColumnName="IdTypeOfHelp" />
                <ScalarProperty Name="Data" ColumnName="Data" />
                <ScalarProperty Name="Status" ColumnName="Status" />
                <ScalarProperty Name="Message" ColumnName="Message" />
                <ScalarProperty Name="PersonalDataId" ColumnName="PersonalDataId" />
                <ScalarProperty Name="IdRecuest" ColumnName="IdRecuest" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Role">
            <EntityTypeMapping TypeName="Model.Role">
              <MappingFragment StoreEntitySet="Role">
                <ScalarProperty Name="name" ColumnName="name" />
                <ScalarProperty Name="id" ColumnName="id" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="TypeOfHelp">
            <EntityTypeMapping TypeName="Model.TypeOfHelp">
              <MappingFragment StoreEntitySet="TypeOfHelp">
                <ScalarProperty Name="Name" ColumnName="Name" />
                <ScalarProperty Name="IdType" ColumnName="IdType" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="User">
            <EntityTypeMapping TypeName="Model.User">
              <MappingFragment StoreEntitySet="User">
                <ScalarProperty Name="organization_id" ColumnName="organization_id" />
                <ScalarProperty Name="role_id" ColumnName="role_id" />
                <ScalarProperty Name="Password" ColumnName="Password" />
                <ScalarProperty Name="Phone" ColumnName="Phone" />
                <ScalarProperty Name="Email" ColumnName="Email" />
                <ScalarProperty Name="Id" ColumnName="Id" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
        </EntityContainerMapping>
      </Mapping>
    </edmx:Mappings>
  </edmx:Runtime>
  <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
    <Connection>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
      </DesignerInfoPropertySet>
    </Connection>
    <Options>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="ValidateOnBuild" Value="true" />
        <DesignerProperty Name="EnablePluralization" Value="false" />
        <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
        <DesignerProperty Name="UseLegacyProvider" Value="false" />
        <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
      </DesignerInfoPropertySet>
    </Options>
    <!-- Diagram content (shape and connector positions) -->
    <Diagrams></Diagrams>
  </Designer>
</edmx:Edmx>